README file for the replication of 
"The Relational Nature of Employment Dualization: Evidence from Subcontracting Establishments"

--------------
AUTHOR CONTACT (as of April 2018):

Fabian Ochsenfeld
FAU Erlangen-N�rnberg
School of Business and Economics
Chair for Empirical Economic Sociology
Findelgasse 7/9
90402 N�rnberg, Germany
E-mail: fabian.ochsenfeld@fau.de

--------------
DO-FILES:

There are 7 do files:
master.do
vert_01_estab_v16.do
vert_02_vars_pers_v23.do
vert_03_impute_v6.do
vert_04_regress_v26.do
vert_05_descript_v13.do
vert_06_graphs_v11.do

--------------
DATA:

There is 1 data file:
deu_cpindex_91-13.dta (Source: OECD)

The LIAB data (QM2 9310) can be accessed on-site at one of the IAB's data centers and through a job submission application (JoSua).
(http://fdz.iab.de/en/FDZ_Data_Access.aspx)

--------------
HOW TO:

1. Chose a directory and create a folder named "Output" therein.
2. Have deu_cpindex_91-13.dta placed in into the $orig folder in your IAB account.
3. Obtain the reghdfe package (https://github.com/sergiocorreia/reghdfe) and upload the ADO to JoSua. I used version 3.2.9.
4. Submit master.do, vert_01_estab_v16.do, vert_02_vars_pers_v23.do, vert_03_impute_v6.do, vert_04_regress_v26.do, vert_05_descript_v13.do as a job to JoSuA.
5. Export the log-files from JoSuA and save them in your "Output" folder.
6. From vert_04_regress_v26.log, manually copy columns 1-8 the of results matrix 'robustness' into a blank .txt file and save as regress1.txt into the folder "Output" in your directory.
7. From vert_04_regress_v26.log, manually copy columns 9-16 the of results matrix 'robustness' into a blank .txt file and save as regress2.txt into the folder "Output" in your directory.
8. From vert_04_regress_v26.log, manually copy columns 17-18 the of results matrix 'robustness' into a blank .txt file and save as regress3.txt into the folder "Output" in your directory.
9. From vert_05_descript_v13.log, manually copy columns 17-18 the of results matrix 'trend_manuf' into a blank .txt file and save as trend_manuf.txt into the folder "Output" in your directory.
10. From vert_05_descript_v13.log, manually copy columns 17-18 the of results matrix 'trend_other' into a blank .txt file and save as trend_other.txt into the folder "Output" in your directory.
11. Run vert_06_graphs_v11.do
12. Collect graphs from Output folder
--------------